// pages/index/comps/funcNav/funcNav.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        isShow: Boolean,
        nowDate: String
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        goZeroBuy: function() {
            wx.navigateTo({
                url: '/pages/zeroBuy/index/index?type=0'
            })
        },
        goService: function() {
            wx.navigateTo({
                url: '/pages/service/serviceList/serviceList'
            })
        },
        goIntro: function() {
            wx.navigateTo({
                url: '/pages/intro/intro'
            })
        },
        goConcat: function() {
            wx.navigateTo({
                url: '/pages/shopConcat/shopConcat'
            })
        },
        goShare: function() {
            wx.navigateTo({
                url: '/pages/share/share'
            })
        },
        goGoodsList: function(e) {
            wx.navigateTo({
                url: '/pages/goods/goodsList/goodsList?classId=' + e.currentTarget.dataset.id
            })
        }
    }
})